package com.akk.module.avs.entity;

import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.List;

@Component
public class ClearBankCodeExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public ClearBankCodeExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andBankidIsNull() {
            addCriterion("bankid is null");
            return (Criteria) this;
        }

        public Criteria andBankidIsNotNull() {
            addCriterion("bankid is not null");
            return (Criteria) this;
        }

        public Criteria andBankidEqualTo(String value) {
            addCriterion("bankid =", value, "bankid");
            return (Criteria) this;
        }

        public Criteria andBankidNotEqualTo(String value) {
            addCriterion("bankid <>", value, "bankid");
            return (Criteria) this;
        }

        public Criteria andBankidGreaterThan(String value) {
            addCriterion("bankid >", value, "bankid");
            return (Criteria) this;
        }

        public Criteria andBankidGreaterThanOrEqualTo(String value) {
            addCriterion("bankid >=", value, "bankid");
            return (Criteria) this;
        }

        public Criteria andBankidLessThan(String value) {
            addCriterion("bankid <", value, "bankid");
            return (Criteria) this;
        }

        public Criteria andBankidLessThanOrEqualTo(String value) {
            addCriterion("bankid <=", value, "bankid");
            return (Criteria) this;
        }

        public Criteria andBankidLike(String value) {
            addCriterion("bankid like", value, "bankid");
            return (Criteria) this;
        }

        public Criteria andBankidNotLike(String value) {
            addCriterion("bankid not like", value, "bankid");
            return (Criteria) this;
        }

        public Criteria andBankidIn(List<String> values) {
            addCriterion("bankid in", values, "bankid");
            return (Criteria) this;
        }

        public Criteria andBankidNotIn(List<String> values) {
            addCriterion("bankid not in", values, "bankid");
            return (Criteria) this;
        }

        public Criteria andBankidBetween(String value1, String value2) {
            addCriterion("bankid between", value1, value2, "bankid");
            return (Criteria) this;
        }

        public Criteria andBankidNotBetween(String value1, String value2) {
            addCriterion("bankid not between", value1, value2, "bankid");
            return (Criteria) this;
        }

        public Criteria andBanknameIsNull() {
            addCriterion("bankname is null");
            return (Criteria) this;
        }

        public Criteria andBanknameIsNotNull() {
            addCriterion("bankname is not null");
            return (Criteria) this;
        }

        public Criteria andBanknameEqualTo(String value) {
            addCriterion("bankname =", value, "bankname");
            return (Criteria) this;
        }

        public Criteria andBanknameNotEqualTo(String value) {
            addCriterion("bankname <>", value, "bankname");
            return (Criteria) this;
        }

        public Criteria andBanknameGreaterThan(String value) {
            addCriterion("bankname >", value, "bankname");
            return (Criteria) this;
        }

        public Criteria andBanknameGreaterThanOrEqualTo(String value) {
            addCriterion("bankname >=", value, "bankname");
            return (Criteria) this;
        }

        public Criteria andBanknameLessThan(String value) {
            addCriterion("bankname <", value, "bankname");
            return (Criteria) this;
        }

        public Criteria andBanknameLessThanOrEqualTo(String value) {
            addCriterion("bankname <=", value, "bankname");
            return (Criteria) this;
        }

        public Criteria andBanknameLike(String value) {
            addCriterion("bankname like", value, "bankname");
            return (Criteria) this;
        }

        public Criteria andBanknameNotLike(String value) {
            addCriterion("bankname not like", value, "bankname");
            return (Criteria) this;
        }

        public Criteria andBanknameIn(List<String> values) {
            addCriterion("bankname in", values, "bankname");
            return (Criteria) this;
        }

        public Criteria andBanknameNotIn(List<String> values) {
            addCriterion("bankname not in", values, "bankname");
            return (Criteria) this;
        }

        public Criteria andBanknameBetween(String value1, String value2) {
            addCriterion("bankname between", value1, value2, "bankname");
            return (Criteria) this;
        }

        public Criteria andBanknameNotBetween(String value1, String value2) {
            addCriterion("bankname not between", value1, value2, "bankname");
            return (Criteria) this;
        }

        public Criteria andBankstateIsNull() {
            addCriterion("bankstate is null");
            return (Criteria) this;
        }

        public Criteria andBankstateIsNotNull() {
            addCriterion("bankstate is not null");
            return (Criteria) this;
        }

        public Criteria andBankstateEqualTo(String value) {
            addCriterion("bankstate =", value, "bankstate");
            return (Criteria) this;
        }

        public Criteria andBankstateNotEqualTo(String value) {
            addCriterion("bankstate <>", value, "bankstate");
            return (Criteria) this;
        }

        public Criteria andBankstateGreaterThan(String value) {
            addCriterion("bankstate >", value, "bankstate");
            return (Criteria) this;
        }

        public Criteria andBankstateGreaterThanOrEqualTo(String value) {
            addCriterion("bankstate >=", value, "bankstate");
            return (Criteria) this;
        }

        public Criteria andBankstateLessThan(String value) {
            addCriterion("bankstate <", value, "bankstate");
            return (Criteria) this;
        }

        public Criteria andBankstateLessThanOrEqualTo(String value) {
            addCriterion("bankstate <=", value, "bankstate");
            return (Criteria) this;
        }

        public Criteria andBankstateLike(String value) {
            addCriterion("bankstate like", value, "bankstate");
            return (Criteria) this;
        }

        public Criteria andBankstateNotLike(String value) {
            addCriterion("bankstate not like", value, "bankstate");
            return (Criteria) this;
        }

        public Criteria andBankstateIn(List<String> values) {
            addCriterion("bankstate in", values, "bankstate");
            return (Criteria) this;
        }

        public Criteria andBankstateNotIn(List<String> values) {
            addCriterion("bankstate not in", values, "bankstate");
            return (Criteria) this;
        }

        public Criteria andBankstateBetween(String value1, String value2) {
            addCriterion("bankstate between", value1, value2, "bankstate");
            return (Criteria) this;
        }

        public Criteria andBankstateNotBetween(String value1, String value2) {
            addCriterion("bankstate not between", value1, value2, "bankstate");
            return (Criteria) this;
        }

        public Criteria andClearbankidIsNull() {
            addCriterion("clearbankid is null");
            return (Criteria) this;
        }

        public Criteria andClearbankidIsNotNull() {
            addCriterion("clearbankid is not null");
            return (Criteria) this;
        }

        public Criteria andClearbankidEqualTo(String value) {
            addCriterion("clearbankid =", value, "clearbankid");
            return (Criteria) this;
        }

        public Criteria andClearbankidNotEqualTo(String value) {
            addCriterion("clearbankid <>", value, "clearbankid");
            return (Criteria) this;
        }

        public Criteria andClearbankidGreaterThan(String value) {
            addCriterion("clearbankid >", value, "clearbankid");
            return (Criteria) this;
        }

        public Criteria andClearbankidGreaterThanOrEqualTo(String value) {
            addCriterion("clearbankid >=", value, "clearbankid");
            return (Criteria) this;
        }

        public Criteria andClearbankidLessThan(String value) {
            addCriterion("clearbankid <", value, "clearbankid");
            return (Criteria) this;
        }

        public Criteria andClearbankidLessThanOrEqualTo(String value) {
            addCriterion("clearbankid <=", value, "clearbankid");
            return (Criteria) this;
        }

        public Criteria andClearbankidLike(String value) {
            addCriterion("clearbankid like", value, "clearbankid");
            return (Criteria) this;
        }

        public Criteria andClearbankidNotLike(String value) {
            addCriterion("clearbankid not like", value, "clearbankid");
            return (Criteria) this;
        }

        public Criteria andClearbankidIn(List<String> values) {
            addCriterion("clearbankid in", values, "clearbankid");
            return (Criteria) this;
        }

        public Criteria andClearbankidNotIn(List<String> values) {
            addCriterion("clearbankid not in", values, "clearbankid");
            return (Criteria) this;
        }

        public Criteria andClearbankidBetween(String value1, String value2) {
            addCriterion("clearbankid between", value1, value2, "clearbankid");
            return (Criteria) this;
        }

        public Criteria andClearbankidNotBetween(String value1, String value2) {
            addCriterion("clearbankid not between", value1, value2, "clearbankid");
            return (Criteria) this;
        }

        public Criteria andProvidIsNull() {
            addCriterion("provid is null");
            return (Criteria) this;
        }

        public Criteria andProvidIsNotNull() {
            addCriterion("provid is not null");
            return (Criteria) this;
        }

        public Criteria andProvidEqualTo(String value) {
            addCriterion("provid =", value, "provid");
            return (Criteria) this;
        }

        public Criteria andProvidNotEqualTo(String value) {
            addCriterion("provid <>", value, "provid");
            return (Criteria) this;
        }

        public Criteria andProvidGreaterThan(String value) {
            addCriterion("provid >", value, "provid");
            return (Criteria) this;
        }

        public Criteria andProvidGreaterThanOrEqualTo(String value) {
            addCriterion("provid >=", value, "provid");
            return (Criteria) this;
        }

        public Criteria andProvidLessThan(String value) {
            addCriterion("provid <", value, "provid");
            return (Criteria) this;
        }

        public Criteria andProvidLessThanOrEqualTo(String value) {
            addCriterion("provid <=", value, "provid");
            return (Criteria) this;
        }

        public Criteria andProvidLike(String value) {
            addCriterion("provid like", value, "provid");
            return (Criteria) this;
        }

        public Criteria andProvidNotLike(String value) {
            addCriterion("provid not like", value, "provid");
            return (Criteria) this;
        }

        public Criteria andProvidIn(List<String> values) {
            addCriterion("provid in", values, "provid");
            return (Criteria) this;
        }

        public Criteria andProvidNotIn(List<String> values) {
            addCriterion("provid not in", values, "provid");
            return (Criteria) this;
        }

        public Criteria andProvidBetween(String value1, String value2) {
            addCriterion("provid between", value1, value2, "provid");
            return (Criteria) this;
        }

        public Criteria andProvidNotBetween(String value1, String value2) {
            addCriterion("provid not between", value1, value2, "provid");
            return (Criteria) this;
        }

        public Criteria andAreacodeIsNull() {
            addCriterion("areacode is null");
            return (Criteria) this;
        }

        public Criteria andAreacodeIsNotNull() {
            addCriterion("areacode is not null");
            return (Criteria) this;
        }

        public Criteria andAreacodeEqualTo(String value) {
            addCriterion("areacode =", value, "areacode");
            return (Criteria) this;
        }

        public Criteria andAreacodeNotEqualTo(String value) {
            addCriterion("areacode <>", value, "areacode");
            return (Criteria) this;
        }

        public Criteria andAreacodeGreaterThan(String value) {
            addCriterion("areacode >", value, "areacode");
            return (Criteria) this;
        }

        public Criteria andAreacodeGreaterThanOrEqualTo(String value) {
            addCriterion("areacode >=", value, "areacode");
            return (Criteria) this;
        }

        public Criteria andAreacodeLessThan(String value) {
            addCriterion("areacode <", value, "areacode");
            return (Criteria) this;
        }

        public Criteria andAreacodeLessThanOrEqualTo(String value) {
            addCriterion("areacode <=", value, "areacode");
            return (Criteria) this;
        }

        public Criteria andAreacodeLike(String value) {
            addCriterion("areacode like", value, "areacode");
            return (Criteria) this;
        }

        public Criteria andAreacodeNotLike(String value) {
            addCriterion("areacode not like", value, "areacode");
            return (Criteria) this;
        }

        public Criteria andAreacodeIn(List<String> values) {
            addCriterion("areacode in", values, "areacode");
            return (Criteria) this;
        }

        public Criteria andAreacodeNotIn(List<String> values) {
            addCriterion("areacode not in", values, "areacode");
            return (Criteria) this;
        }

        public Criteria andAreacodeBetween(String value1, String value2) {
            addCriterion("areacode between", value1, value2, "areacode");
            return (Criteria) this;
        }

        public Criteria andAreacodeNotBetween(String value1, String value2) {
            addCriterion("areacode not between", value1, value2, "areacode");
            return (Criteria) this;
        }

        public Criteria andNombankidIsNull() {
            addCriterion("nombankid is null");
            return (Criteria) this;
        }

        public Criteria andNombankidIsNotNull() {
            addCriterion("nombankid is not null");
            return (Criteria) this;
        }

        public Criteria andNombankidEqualTo(String value) {
            addCriterion("nombankid =", value, "nombankid");
            return (Criteria) this;
        }

        public Criteria andNombankidNotEqualTo(String value) {
            addCriterion("nombankid <>", value, "nombankid");
            return (Criteria) this;
        }

        public Criteria andNombankidGreaterThan(String value) {
            addCriterion("nombankid >", value, "nombankid");
            return (Criteria) this;
        }

        public Criteria andNombankidGreaterThanOrEqualTo(String value) {
            addCriterion("nombankid >=", value, "nombankid");
            return (Criteria) this;
        }

        public Criteria andNombankidLessThan(String value) {
            addCriterion("nombankid <", value, "nombankid");
            return (Criteria) this;
        }

        public Criteria andNombankidLessThanOrEqualTo(String value) {
            addCriterion("nombankid <=", value, "nombankid");
            return (Criteria) this;
        }

        public Criteria andNombankidLike(String value) {
            addCriterion("nombankid like", value, "nombankid");
            return (Criteria) this;
        }

        public Criteria andNombankidNotLike(String value) {
            addCriterion("nombankid not like", value, "nombankid");
            return (Criteria) this;
        }

        public Criteria andNombankidIn(List<String> values) {
            addCriterion("nombankid in", values, "nombankid");
            return (Criteria) this;
        }

        public Criteria andNombankidNotIn(List<String> values) {
            addCriterion("nombankid not in", values, "nombankid");
            return (Criteria) this;
        }

        public Criteria andNombankidBetween(String value1, String value2) {
            addCriterion("nombankid between", value1, value2, "nombankid");
            return (Criteria) this;
        }

        public Criteria andNombankidNotBetween(String value1, String value2) {
            addCriterion("nombankid not between", value1, value2, "nombankid");
            return (Criteria) this;
        }

        public Criteria andAreanameIsNull() {
            addCriterion("areaname is null");
            return (Criteria) this;
        }

        public Criteria andAreanameIsNotNull() {
            addCriterion("areaname is not null");
            return (Criteria) this;
        }

        public Criteria andAreanameEqualTo(String value) {
            addCriterion("areaname =", value, "areaname");
            return (Criteria) this;
        }

        public Criteria andAreanameNotEqualTo(String value) {
            addCriterion("areaname <>", value, "areaname");
            return (Criteria) this;
        }

        public Criteria andAreanameGreaterThan(String value) {
            addCriterion("areaname >", value, "areaname");
            return (Criteria) this;
        }

        public Criteria andAreanameGreaterThanOrEqualTo(String value) {
            addCriterion("areaname >=", value, "areaname");
            return (Criteria) this;
        }

        public Criteria andAreanameLessThan(String value) {
            addCriterion("areaname <", value, "areaname");
            return (Criteria) this;
        }

        public Criteria andAreanameLessThanOrEqualTo(String value) {
            addCriterion("areaname <=", value, "areaname");
            return (Criteria) this;
        }

        public Criteria andAreanameLike(String value) {
            addCriterion("areaname like", value, "areaname");
            return (Criteria) this;
        }

        public Criteria andAreanameNotLike(String value) {
            addCriterion("areaname not like", value, "areaname");
            return (Criteria) this;
        }

        public Criteria andAreanameIn(List<String> values) {
            addCriterion("areaname in", values, "areaname");
            return (Criteria) this;
        }

        public Criteria andAreanameNotIn(List<String> values) {
            addCriterion("areaname not in", values, "areaname");
            return (Criteria) this;
        }

        public Criteria andAreanameBetween(String value1, String value2) {
            addCriterion("areaname between", value1, value2, "areaname");
            return (Criteria) this;
        }

        public Criteria andAreanameNotBetween(String value1, String value2) {
            addCriterion("areaname not between", value1, value2, "areaname");
            return (Criteria) this;
        }

        public Criteria andBankoperatorIsNull() {
            addCriterion("bankoperator is null");
            return (Criteria) this;
        }

        public Criteria andBankoperatorIsNotNull() {
            addCriterion("bankoperator is not null");
            return (Criteria) this;
        }

        public Criteria andBankoperatorEqualTo(String value) {
            addCriterion("bankoperator =", value, "bankoperator");
            return (Criteria) this;
        }

        public Criteria andBankoperatorNotEqualTo(String value) {
            addCriterion("bankoperator <>", value, "bankoperator");
            return (Criteria) this;
        }

        public Criteria andBankoperatorGreaterThan(String value) {
            addCriterion("bankoperator >", value, "bankoperator");
            return (Criteria) this;
        }

        public Criteria andBankoperatorGreaterThanOrEqualTo(String value) {
            addCriterion("bankoperator >=", value, "bankoperator");
            return (Criteria) this;
        }

        public Criteria andBankoperatorLessThan(String value) {
            addCriterion("bankoperator <", value, "bankoperator");
            return (Criteria) this;
        }

        public Criteria andBankoperatorLessThanOrEqualTo(String value) {
            addCriterion("bankoperator <=", value, "bankoperator");
            return (Criteria) this;
        }

        public Criteria andBankoperatorLike(String value) {
            addCriterion("bankoperator like", value, "bankoperator");
            return (Criteria) this;
        }

        public Criteria andBankoperatorNotLike(String value) {
            addCriterion("bankoperator not like", value, "bankoperator");
            return (Criteria) this;
        }

        public Criteria andBankoperatorIn(List<String> values) {
            addCriterion("bankoperator in", values, "bankoperator");
            return (Criteria) this;
        }

        public Criteria andBankoperatorNotIn(List<String> values) {
            addCriterion("bankoperator not in", values, "bankoperator");
            return (Criteria) this;
        }

        public Criteria andBankoperatorBetween(String value1, String value2) {
            addCriterion("bankoperator between", value1, value2, "bankoperator");
            return (Criteria) this;
        }

        public Criteria andBankoperatorNotBetween(String value1, String value2) {
            addCriterion("bankoperator not between", value1, value2, "bankoperator");
            return (Criteria) this;
        }

        public Criteria andBanktimeIsNull() {
            addCriterion("banktime is null");
            return (Criteria) this;
        }

        public Criteria andBanktimeIsNotNull() {
            addCriterion("banktime is not null");
            return (Criteria) this;
        }

        public Criteria andBanktimeEqualTo(String value) {
            addCriterion("banktime =", value, "banktime");
            return (Criteria) this;
        }

        public Criteria andBanktimeNotEqualTo(String value) {
            addCriterion("banktime <>", value, "banktime");
            return (Criteria) this;
        }

        public Criteria andBanktimeGreaterThan(String value) {
            addCriterion("banktime >", value, "banktime");
            return (Criteria) this;
        }

        public Criteria andBanktimeGreaterThanOrEqualTo(String value) {
            addCriterion("banktime >=", value, "banktime");
            return (Criteria) this;
        }

        public Criteria andBanktimeLessThan(String value) {
            addCriterion("banktime <", value, "banktime");
            return (Criteria) this;
        }

        public Criteria andBanktimeLessThanOrEqualTo(String value) {
            addCriterion("banktime <=", value, "banktime");
            return (Criteria) this;
        }

        public Criteria andBanktimeLike(String value) {
            addCriterion("banktime like", value, "banktime");
            return (Criteria) this;
        }

        public Criteria andBanktimeNotLike(String value) {
            addCriterion("banktime not like", value, "banktime");
            return (Criteria) this;
        }

        public Criteria andBanktimeIn(List<String> values) {
            addCriterion("banktime in", values, "banktime");
            return (Criteria) this;
        }

        public Criteria andBanktimeNotIn(List<String> values) {
            addCriterion("banktime not in", values, "banktime");
            return (Criteria) this;
        }

        public Criteria andBanktimeBetween(String value1, String value2) {
            addCriterion("banktime between", value1, value2, "banktime");
            return (Criteria) this;
        }

        public Criteria andBanktimeNotBetween(String value1, String value2) {
            addCriterion("banktime not between", value1, value2, "banktime");
            return (Criteria) this;
        }

        public Criteria andBankpidIsNull() {
            addCriterion("bankpid is null");
            return (Criteria) this;
        }

        public Criteria andBankpidIsNotNull() {
            addCriterion("bankpid is not null");
            return (Criteria) this;
        }

        public Criteria andBankpidEqualTo(Integer value) {
            addCriterion("bankpid =", value, "bankpid");
            return (Criteria) this;
        }

        public Criteria andBankpidNotEqualTo(Integer value) {
            addCriterion("bankpid <>", value, "bankpid");
            return (Criteria) this;
        }

        public Criteria andBankpidGreaterThan(Integer value) {
            addCriterion("bankpid >", value, "bankpid");
            return (Criteria) this;
        }

        public Criteria andBankpidGreaterThanOrEqualTo(Integer value) {
            addCriterion("bankpid >=", value, "bankpid");
            return (Criteria) this;
        }

        public Criteria andBankpidLessThan(Integer value) {
            addCriterion("bankpid <", value, "bankpid");
            return (Criteria) this;
        }

        public Criteria andBankpidLessThanOrEqualTo(Integer value) {
            addCriterion("bankpid <=", value, "bankpid");
            return (Criteria) this;
        }

        public Criteria andBankpidIn(List<Integer> values) {
            addCriterion("bankpid in", values, "bankpid");
            return (Criteria) this;
        }

        public Criteria andBankpidNotIn(List<Integer> values) {
            addCriterion("bankpid not in", values, "bankpid");
            return (Criteria) this;
        }

        public Criteria andBankpidBetween(Integer value1, Integer value2) {
            addCriterion("bankpid between", value1, value2, "bankpid");
            return (Criteria) this;
        }

        public Criteria andBankpidNotBetween(Integer value1, Integer value2) {
            addCriterion("bankpid not between", value1, value2, "bankpid");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}